<?php $rows = $data['rows']; ?>
<?php _view("header"); ?>

<section class='body'>

<?php _view("nav"); ?>

<div class='content'>
	<div class='c'>
		<h3>
			Add Group:
		</h3>
		<?php if(isset($errorInfo) && $errorInfo) { ?>
		<div class='msg'>
			<em><?= join("<br", $errorInfo); ?></em>
		</div>
		<?php } ?>
		<form action='' method='post'>
			<div class='line'>
				<label for='group_name'>Group Name: </label><input id='group_name' type='text' name='group_name'>
			</div>

			<div class='line'>
				<label for='memo'>Description: </label> <i>what are you doing with this group?</i><br>
				<textarea id='memo' cols=40 rows=10 name='memo'></textarea>
			</div>

			<div class='line'>
				<label></label><input type='submit' value='Submit'>
			</div>
			
		</form>
	</div>
</div>

<div class='float-clear'></div>
<script>
$(function() {
	$(".line input,.line textarea").focus(function() {
		$(this).parent().addClass("focus");	
	}).blur(function() {
		$(this).parent().removeClass("focus");	
	});
	$("#group_name").focus();
});
</script>
</section>


